
<form id="form_add">
  <table>	
	<tr>
		<td width="20%" align="right">编号：</td>
		<td width="80%"><input type="text" name="code" id="code" value="" size="20"></td>
	</tr>
	<tr>
		<td align="right">工厂：</td>
		<td><input type="text" name="supplier" id="supplier" value="" size="20"></td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td><input type="text" name="name" id="name" value="" size="32"></td>
	</tr>
	<tr>
		<td align="right">合同金额：</td>
		<td><input type="text" name="total" id="total" value="" size="12">
		<select name='currency' id='currency'>
      {[html_options options=$currency_option selected=-]}
      </select></td>
	</tr>
	<tr>
		<td align="right">外发日期：</td>
		<td><input type="text" name="begin" id="begin" value="{[$smarty.now|date_format:'%Y-%m-%d']}" size="12"></td>
	</tr>
	<tr>
		<td align="right">工程师：</td>
		<td><input type="text" name="emp" id="emp" value="" size="12"></td>
	</tr>	
	<tr>
		<td align="right">备注：</td>
		<td><textarea rows="2" name="content" cols="55"></textarea></td>
	</tr>
  </table>
</form>

<div style="margin-top:10px; margin-bottom:5px; width:660px;float:left;">
<div id="myGrid" style="width:100%;height:160px;"></div>
</div>
<table border="0">
	<tr>
		<td width="140" align="right">合计：</td>
		<td width="80"><div id="total_t"></div></td>
		<td width="80"><div id="amount_t"></div></td>
		<td width="60"></td>
		<td width="80"><div id="rmb_t"></div></td>
		<td></td>
	</tr>
</table>

<script type="text/javascript" src="js/finance/mold/columns_add.js?r={[$smarty.now]}"></script>

<script type='text/javascript'>
data = [];
</script>

<script type="text/javascript" src="js/finance/mold/add.js?r={[$smarty.now]}"></script>
